<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block th:include="include :: header('修改合作商')"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-partner-edit" th:object="${partnerInstall}">

        <input name="partnerId" th:field="*{partnerId}" type="hidden">


        <div class="form-group">
            <label class="col-sm-3 control-label is-required">提现手续费(%)：</label>
            <div class="col-sm-8">
                <input name="txBrokerage" th:field="*{txBrokerage}" class="form-control" type="text" required>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label is-required">提现允许最小金额：</label>
            <div class="col-sm-8">
                <input name="txMinPermit" th:field="*{txMinPermit}" class="form-control" type="text" required>
            </div>
        </div>


        <div class="form-group">
            <label class="col-sm-3 control-label is-required">VIP每单前X分钟免费：</label>
            <div class="col-sm-8">
                <input name="orderFreeMinute" th:field="*{orderFreeMinute}" class="form-control" type="text"
                       required>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label is-required">每天免费订单数：</label>
            <div class="col-sm-8">
                <input name="dailyOrderLimit" th:field="*{dailyOrderLimit}" class="form-control" type="text"
                       required>
            </div>
        </div>


        <div class="form-group">
            <label class="col-sm-3 control-label is-required">冻结积分：</label>
            <div class="col-sm-8">
                <input name="icePoint" th:field="*{icePoint}" class="form-control" type="text" required>
            </div>
        </div>


        <div class="form-group">
            <label class="col-sm-3 control-label is-required">已冻结金额：</label>
            <div class="col-sm-8">
                <input name="frozenMoney" th:field="*{frozenMoney}" class="form-control" type="text" required>
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-3 control-label is-required">M比例：</label>
            <div class="col-sm-8">
                <input name="mBl" th:field="*{mBl}" class="form-control" type="text" required>
            </div>
        </div>

    </form>
</div>
<th:block th:include="include :: footer"/>
<script th:inline="javascript">
    var prefix = ctx + "system/partner";
    $("#form-partner-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/putUpBase", $('#form-partner-edit').serialize());
        }
    }
</script>
</body>
</html>